package domain;

import com.mchange.v2.c3p0.ComboPooledDataSource;
import com.mchange.v2.c3p0.DataSources;

import javax.sql.DataSource;
import java.sql.Connection;
import java.sql.SQLException;

public class Test {
    public static void main(String[] args) throws SQLException {
       DataSource ds= new ComboPooledDataSource();

            Connection conn = ds.getConnection();
            System.out.println(conn);


    }
}
